#!/bin/sh
local_ip=` ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|grep -v 10.8|awk '{print $2}'|tr -d "addr:"`
echo "本机IP是:$local_ip"
